package tarenaemployeemanagementsystem;

public abstract class Employee {
    String name;
    int age;
    double salary;

    Employee() {

    }

    Employee(String name, int age, double salary) {
        this.age=age;
        this.name= name;
        this.salary=salary;
    }

    void clockInForWork() {
        System.out.println(name+"已经完成上班打卡！"+"年龄："+age+"薪资"+salary);
    }

    void clockOutFromWork() {
        System.out.println(name+"已经完成下班打卡"+"年龄："+age+"薪资"+salary);
    }

    abstract void completeTheWork() ;
}
